package com.atcx.service;

import com.atcx.pojo.Classes;
import com.atcx.util.PageResult;
import com.atcx.util.QueryPageBean;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pangShu
 * @since 2022-03-23
 */
public interface ClassesService extends IService<Classes> {

    public int  addClasses(Classes classes);

    public int  updateClasses(Classes classes);

    public int  deleteClasses(int id);

    public PageResult findByPage(QueryPageBean queryPageBean);

    public Map<String,Object> getTotal();

    public List<Classes> getList();
    //根据班级ID查询班级信息
    public Classes getClassesById(int id);
}
